package com.cwj.mansysback.dao.api;

import com.cwj.mansysback.entity.Pack;
import com.cwj.mansysback.entity.Student;

import java.util.List;

public interface StudentDao {

    boolean addStudent( String sid , String sname , boolean ssex ,Integer sage);

    boolean deleteStudent(String sid);

    Student selectStudent(String sid);

    List<Student> selectCouStudent(String cid ,int start,int len);

    List<Student> selectStud(int start,int len);

    List<Student> selectStud(int start,int len,String orderKey,boolean isAsc);

    boolean updateStudent(String sid , String sname , boolean ssex ,Integer sage);

    Pack selectAllPack();



}
